package sg.edu.nus.iss.cats.dataaccess.mysql;

import java.util.*;

/**
 * Course class
 *
 * @version $Revision: 1.0
 */

public class CourseSelectionCriteria implements java.io.Serializable {

    private String[]  courseIds   = null;
    private String[]  employeeIds = null;
    private String[]  organisers  = null;
    private Date      periodStart = null;
    private Date      periodEnd   = null;
    private String[]  statuses    = null;

    public CourseSelectionCriteria () {
    }

    public void setCourseId (String courseId) {
        this.courseIds = new String[] {courseId};
    }

    public void setCourseIds (String[] courseIds) {
        this.courseIds = courseIds;
    }

    public String[] getCourseIds () {
        return courseIds;
    }

    public void setEmployeeId (String employeeId) {
        this.employeeIds = new String [] {employeeId};
    }

    public void setEmployeeIds (String[] employeeIds) {
        this.employeeIds = employeeIds;
    }

    public String[] getEmployeeIds () {
        return employeeIds;
    }

    public void setOrganiser (String organiser) {
        this.organisers = new String [] {organiser};
    }

    public void setOrganisers (String[] organisers) {
        this.organisers = organisers;
    }

    public String[] getOrganisers() {
        return organisers;
    }

    public void setPeriod (Date periodStart) {
        this.periodStart = periodStart;
    }

    public Date getPeriodStart () {
        return periodStart;
    }

    public void setPeriodEnd (Date periodEnd) {
        this.periodEnd = periodEnd;
    }

    public Date getPeriodEnd () {
        return periodEnd;
    }

    public void setStatus (String status) {
        this.statuses = new String [] {status};
    }

    public void setStatuses (String[] statuses) {
        this.statuses = statuses;
    }

    public String[] getStatuses () {
        return statuses;
    }

}